let mongoose=require('mongoose')
mongoose.connect('mongodb+srv://3047352306:i6mvPG6Ljr0zfmBP@cluster0.etjxk.mongodb.net/week3')
.then(()=>{
    console.log('连接成功')

})
.catch(()=>{
    console.log(error,'连接失败')
})
module.exports=mongoose